import { createApp } from 'vue'
import App from './App.vue'
import router from './router/'
import { createPinia } from 'pinia'
// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import {CountDown, Stepper, SubmitBar} from "vant";
const app = createApp(App)
const pinia = createPinia()
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(pinia) // 挂载到应用
app.use(router)
app.mount("#app")
app.use(CountDown);
app.use(SubmitBar);
app.use(Stepper);